|
Расположение в меню |
---|
TechDraw → Штриховать грань, используя файл изображения |
Верстаки |
TechDraw |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Применить геометрическую штриховку к грани, Штриховка |
The TechDraw Hatch tool fills a closed region in a View with a tiled SVG or bitmap (introduced in version 0.21) based hatch pattern. Alternatively the TechDraw GeometricHatch tool uses PAT based hatch patterns. See Hatching for details.
SVG hatch pattern on a face
$INSTALL_DIR/data/Mod/TechDraw/Patterns
$INSTALL_DIR
is the directory where FreeCAD was installed, for example:/usr/share/freecad/data/Mod/TechDraw/Patterns
См. так же: TechDraw API и Основы составления скриптов FreeCAD.
A Hatch can be created with macros and from the Python console by using the following functions:
hatch = FreeCAD.ActiveDocument.addObject("TechDraw::DrawHatch", "Hatch")
hatch.Source = (view1, ["Face0"])
hatch.HatchPattern = hatchFileSpec
page.addView(hatch)